package Test;

public class Test1 {
    public static void main(String[] args) {
        MyArrayList myArrayList = new MyArrayList();
        myArrayList.add(8);
        myArrayList.add(3);
        myArrayList.add(5);
        int ret = myArrayList.indexOf(8);
        System.out.println(ret);
        myArrayList.display();
    }
}
